#include "AllSort.h"
int main()
{
    int a[] = { 9, 1, 2, 5, 7, 4, 8, 6, 3, 0 };
    // int mid=GetMidIndex(a,0,9);
    // printf("%d",a[mid]);


    //ShellSort(a,sizeof(a)/sizeof(int));
    //QuickSort(a,0,sizeof(a)/sizeof(int)-1);
    QuickSortNonR(a,0,sizeof(a)/sizeof(int)-1);
    PrintArray(a,sizeof(a)/sizeof(int));

    return 0;
}